
<script src="ADMIN_JS/bootstrap.min.js"></script>
<!-- <script src="__JS__/content.min.js"></script>
<script src="__JS__/jquery.validation.min.js"></script> -->
<script>
	$(document).ready(function() {
		$("#loading-example-btn").click(function() {
			btn = $(this);
			simpleLoad(btn, true);
			simpleLoad(btn, false)
		})
	});
	function simpleLoad(btn, state) {
		if (state) {
			btn.children().addClass("fa-spin");
			btn.contents().last().replaceWith(" Loading")
		} else {
			setTimeout(function() {
				btn.children().removeClass("fa-spin");
				btn.contents().last().replaceWith(" Refresh")
			}, 2000)
		}
	};
	function fresh(){
 	self.location.reload();  //刷新框架内页面
}
</script>
</body>
</html>
